.nav-content {
  width: 200px;
  height: 100%;
}

.leftBar {
   width: 200px !important; /* 强制覆盖 */
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  
}


.mt-auto {
  position: fixed;
  bottom: 0%;
}

.Navi {
  width: 200px;
  height: 40px;
  line-height: 40px;
  align-items: center;
  border: 0px;
  border-radius: 10px;
  background-color: aliceblue;
}

/* 鼠标移入时的背景色 */
.Navi:hover {
  background-color: #eaeef0;
  cursor: pointer;
  /* 浅灰色，可自定义 */
}

/* 激活状态（点击时）的背景色 */
.Navi.active {
  background-color: #eaeef0;
  /* 更深的灰色 */
}


.icon-container {
  width: 25px;
  height: 25px;
  margin-right: 10px;
  /* 图标与文字间距 */
  display: flex;
  align-items: center;
  justify-content: center;
}

.label {
  font-size: 14px;
  font-weight: 500;
}

.design-modal .ant-modal-content {
  border-radius: 16px;
  overflow: hidden;
  width: 800px;
  height: 600px;
}
/* index.css */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.app {
  display: flex;
  height: 100vh;
}

.sidebar {
  width: 200px;
  background: #4b6bfb;
  color: white;
  padding: 20px;
  height: 100vh;
}

.title {
  font-size: 24px;
  margin-bottom: 30px;
}

.button {
  display: flex;
  align-items: center;
  padding: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  border-radius: 4px;
}

.button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.button span {
  margin-left: 10px;
}

.psd {
  background: #2b45d6;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  margin-left: 5px;
}

.mainContent {
  flex: 1;
  padding: 20px;
}

.searchBar {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.searchBar input {
  flex: 1;
  padding: 10px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  margin-left: 10px;
}

.customSize h3 {
  margin-bottom: 10px;
}

.sizeInput {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sizeInput input {
  width: 100px;
  padding: 5px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
}

.exchange {
  background: #f0f0f0;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.create {
  background: #4b6bfb;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 10px;
}

.mySection {
  margin: 20px 0;
}

.empty {
  color: #999;
  padding: 20px;
  text-align: center;
}

.recommend h3 {
  margin-bottom: 10px;
}

.cardGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: box-shadow 0.3s;
}

.card:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.icon {
  font-size: 24px;
  color: #4b6bfb;
}

.info h4 {
  margin: 0;
  font-size: 16px;
}

.info p {
  margin: 0;
  color: #666;
  font-size: 14px;
}

/* 添加样式 */
.logo-container {
  position: relative;
  cursor: pointer;
  z-index: 999999999999999999999 !important;
}

.logo-popup {
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  background: #1890ff;
  border-radius: 8px;
  padding: 20px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 9999999999999999999 !important;
}

.logo-popup::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: transparent transparent #1890ff transparent;
}

.popup-content {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.popup-content p {
  margin: 8px 0;
  line-height: 1.5;
}

/* 自定义Tooltip样式 */
.app-tooltip {
  text-align: center;
}

.app-tooltip p {
  margin: 4px 0;
  font-size: 12px;
  font-weight: bold;
}
.custom-tooltip .ant-tooltip-inner {

  background-color: white !important;
  color: #333 !important; /* 文字颜色改为深色以在白色背景上可见 */
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.custom-tooltip .ant-tooltip-arrow::before {
  background-color: white !important;
}

.qr-code-placeholder {
 
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #999;
}

 @media (max-width: 767px) {
    position:fixed;
    top:0;
    width:100%;
    height:60px;
    z-index: 1000;
    
    .mobile-menu {
      position: absolute;
      top: 60px;
      left: 0;
      width: 100%;
      background: white;
      transform: translateY(-100%);
      transition: transform 0.3s ease;
      
      &.mobile-open {
        transform: translateY(0);
      }
    }
  }